# frozen_string_literal: true

# Applicaciont level helpers
module GlobalHelpers
  def self.build_querys(params)
    return nil if params[:s_key].blank?

    { "#{params[:s_key]}": Regexp.new((params[:s_val]).to_s) }
  end
end
